<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
 
<s:layout-render name="/base.jsp" title="Form result example">
    <s:layout-component name="body">
 
        You entered number ${actionBean.number}.
        This number is 
        <c:choose>
            <c:when test="${actionBean.isEven}"> even.</c:when>
            <c:otherwise> odd.</c:otherwise>
        </c:choose>

    </s:layout-component>
</s:layout-render>